import axios from 'axios'

export const getExposureData = async (timeRange: string) => {
    const res = await axios.get(`/api/ads/exposure?range=${timeRange}`)
    return res.data
}

export const getClickRateData = async (timeRange: string) => {
    const res = await axios.get(`/api/ads/click-rate?range=${timeRange}`)
    return res.data
}